/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package runebound.basedatos;

/**
 *
 * @author Miguel (alakat@gmail.com)
 */
public class Conector {
    private FronteraConexion entrada;
    private FronteraConexion salida;
    private int i;
    private int j;

    public Conector(FronteraConexion entrada, FronteraConexion salida, int i, int j) {
        this.entrada = entrada;
        this.salida = salida;
        this.i = i;
        this.j = j;
    }

    @Override
    public String toString() {
        return "["+getI()+","+getJ()+"]:"+getEntrada()+"->"+getSalida();
    }

    /**
     * @return the entrada
     */
    public FronteraConexion getEntrada() {
        return entrada;
    }

    /**
     * @return the salida
     */
    public FronteraConexion getSalida() {
        return salida;
    }

    /**
     * @return the i
     */
    public int getI() {
        return i;
    }

    /**
     * @return the j
     */
    public int getJ() {
        return j;
    }

    
    
}
